package daobeauty.interceptor.returntype.handler.impl;

import java.util.List;

import daobeauty.interceptor.returntype.handler.ReturnTypeHandler;

/**
 * ReturnTypeHandler for void methods. This will return null in all cases.
 * 
 * @author M. Serhat Cinar
 *
 */
public class VoidReturnType implements ReturnTypeHandler<Object> {

	/**
	 * Returns null.
	 * 
	 * @see daobeauty.interceptor.returntype.handler.ReturnTypeHandler#convert(java.util.List)
	 */
	public Object convert(List result) {
		return null;
	}

	/**
	 * Returns null.
	 * 
	 * @see daobeauty.interceptor.returntype.handler.ReturnTypeHandler#convert(java.lang.Object)
	 */
	public Object convert(Object result) {
		return null;
	}

}
